package com.cy.dda.model.vo.cases;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.cy.dda.model.enums.Sex;
import com.cy.dda.model.enums.cases.CasesStatus;
import com.cy.dda.model.enums.cases.CasesType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 前台-委案详情
 *
 * @author: tanyilin
 * @create: 2018年11月13日 下午6:04:52
 */
@Data
@ApiModel("前台-委案详情")
public class CasesDetailInfoVO {

	@ApiModelProperty(value = "委案ID", example = "0")
	private Long casesId;
	
	@ApiModelProperty(value = "委案类型")
	private CasesType casesType;
	
	@ApiModelProperty(value = "委案类型文案")
	private String casesTypeText;
	
	@ApiModelProperty(value = "委托机构名称")
	private String orgName;
	
	@ApiModelProperty(value = "客户ID", example = "0")
	private Long customerId;
	
	@ApiModelProperty(value = "客户姓名")
	private String customerName;
	
	@ApiModelProperty(value = "手机号码")
	private String mobile;
	
	@ApiModelProperty(value = "客户性别")
	private Sex sex;
	
	@ApiModelProperty(value = "客户性别")
	private String sexText;
	
	@ApiModelProperty(value = "身份证号码")
	private String idNo;
	
	@ApiModelProperty(value = "客户年龄", example = "0")
	private Integer age;
	
	@ApiModelProperty(value = "居住地址")
	private String liveAddress;
	
	@ApiModelProperty(value = "户籍地址")
	private String idAddress;
	
	@ApiModelProperty(value = "剩余追偿金额", example = "0.00")
	private BigDecimal surplusAmount;
	
	@ApiModelProperty(value = "逾期时长（天数）", example = "0")
	private Integer overdueDays;
	
	@ApiModelProperty(value = "逾期日期")
	private Date overdueDate;
	
	@ApiModelProperty(value = "委托到期时间")
	private Date entrustExpireDate;
	
	@ApiModelProperty(value = "委托剩余天数", example = "0")
	private Integer entrustSurplusDays;
	
	@ApiModelProperty(value = "放款银行卡")
	private String loanBankCard;
	
	@ApiModelProperty(value = "机构对公银行卡")
	private String orgPublicBankCard;
	
	@ApiModelProperty(value = "委案当前状态")
	private CasesStatus casesStatus;
	
	@ApiModelProperty(value = "还款方式数组")
	private List<repayWay> repayWayList;
	
	@Data
	public static class repayWay {
		
		private String name;
		private String bankCard;
		private String bankName;
		
	}
}
